﻿using demo1.Models.Database;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace demo1.Service
{
    public interface IUserService
    {
        User GetUserByUserName(string userName);
        bool ExistUserByUserName(string userName);
        int AddNewUser(string userName, string email, string nickname, string password);
    }
}
